﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace THE_WIND_RISES.Common.Domans.BasicInformation.MainPlans
{
    /// <summary>
    /// 主生产计划
    /// </summary>
    public class Mainpalan : Entity
    {
        /// <summary>
        /// 序号
        /// </summary>
        [Key]
        public int MainplanId {  get; set; }
        /// <summary>
        /// 计划编码
        /// </summary>
        public string MainplanNum {  get; set; }
        /// <summary>
        /// 计划名称 
        /// </summary>
        public string MainplanName { get; set; }
        /// <summary>
        /// 计划描述
        /// </summary>
        public string MainplanContext {  get; set; }
        /// <summary>
        /// 状态 ；新建=1;确认=2;变更:3;
        /// </summary>
        public int MainplanState {  get; set; }
        /// <summary>
        /// 制单人.
        /// </summary>
        public string CreateName {  get; set; }
        /// <summary>
        /// 制单部门
        /// </summary>
        public string CreateSection {  get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime {  get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public bool ApprovalState {  get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelMainplan {  set; get; }
    }
}
